The Test Act of 1673 in England obligated all persons filling any office, civil or military, to take oaths of supremacy and allegiance, to subscribe to a declaration against transubstantiation, and to receive the sacrament within three months of taking office.
The oath for the Test Act of 1673 was:
In 1678 the act was extended thus:
The necessity of receiving the sacrament as a qualification for office was abolished under George IV, and all acts requiring the taking of oaths and declarations against transubstantiation etc. were repealed by the Roman Catholic Relief Act of 1829.
Until 1871 a religious test was still necessary at the University of Oxford before a Master's Degree could be conferred, but there is now no religious test associated with any degree. However, religious tests are still required for admission to certain holy orders.
A religious test restricting particular posts to adherents of particular religions or excluding particular adherents from office on the basis of their religious beliefs is generally acceptable under Article 9 of the European Convention on Human Rights (Karlsson v Sweden (1988) 57 Decisions and Reports 172, Cm). A religious test generally applicable to public office could only be permitted under the Convention if it were accepted that the core value of every office was a religious one, so it is unlikely that a religious test would be acceptable for any non-religious office (or office which had a distinct quasi-religious basis).
The Sovereign of the United Kingdom is, in effect, required to take a religious test, as a result of the Coronation Oath Act 1688, Bill of Rights 1688, Act of Settlement 1701, and the Accession Declaration Act 1910.
Religious tests like those of the Test Acts are banned by the No Religious Test Clause in the United States by Article VI of the United States Constitution.